﻿
    using WCYCReader.Base;
    using WCYCReader.Models;
    using System;
    using System.Collections.ObjectModel;
namespace WCYCReader.ViewModels
{
    public class PublishingCategoryList_VM : WCYCBaseModel
    {
        private ObservableCollection<BookCategoryList_M> _T_PublishingCategoryList;

        public PublishingCategoryList_VM()
        {
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("61", "经济管理", "14", "/Resource/CategoryIcon/jingjiguanli.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("56", "生活时尚", "14", "/Resource/CategoryIcon/shenghuoshishang.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("54", "经典名著", "14", "/Resource/CategoryIcon/jingdianmingzhu.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("57", "青春文学", "14", "/Resource/CategoryIcon/qingchunwenxue.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("58", "成功励志", "14", "/Resource/CategoryIcon/chenggonglizhi.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("59", "人文社科", "14", "/Resource/CategoryIcon/renwensheke.png"));
            this.T_PublishingCategoryList_VM.Add(new BookCategoryList_M("55", "文化艺术", "14", "/Resource/CategoryIcon/wenhuayishu.png"));
        }

        public ObservableCollection<BookCategoryList_M> T_PublishingCategoryList_VM
        {
            get
            {
                if (this._T_PublishingCategoryList == null)
                {
                    this._T_PublishingCategoryList = new ObservableCollection<BookCategoryList_M>();
                }
                return this._T_PublishingCategoryList;
            }
            set
            {
                this._T_PublishingCategoryList = value;
                this.NotifyPropertyChanged<PublishingCategoryList_VM, ObservableCollection<BookCategoryList_M>>(p => p._T_PublishingCategoryList);
            }
        }
    }
}

